import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import { actions } from './actions'
import {mutations,state,getters} from './mutations'

import home from './modules/home.js'
import sort from './modules/sort'
import path from './modules/path'

export default new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
    modules:{
        home,
        sort,
        path
    }
})